package com.jsh.erp.dao.mappers;

import com.jsh.erp.domain.entities.Cheque;
import com.jsh.erp.domain.entities.ChequeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ChequeMapper {
    long countByExample(ChequeExample example);

    int deleteByExample(ChequeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Cheque record);

    int insertSelective(Cheque record);

    List<Cheque> selectByExample(ChequeExample example);

    Cheque selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Cheque record, @Param("example") ChequeExample example);

    int updateByExample(@Param("record") Cheque record, @Param("example") ChequeExample example);

    int updateByPrimaryKeySelective(Cheque record);

    int updateByPrimaryKey(Cheque record);
}
